package com.xxxcompany.world.service.impl;

import java.sql.SQLException;
import java.util.List;

import com.xxxcompany.world.dao.ICountryDAO;
import com.xxxcompany.world.dao.impl.CountryDAOImpl;
import com.xxxcompany.world.entity.Country;
import com.xxxcompany.world.service.ICountryService;

public class CountryServiceImpl implements ICountryService{

	ICountryDAO dao = new CountryDAOImpl();
	
	@Override
	public List<Country> findAll() {
		
		try {
			return dao.findAll();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return null;
	}

}
